<template>
  <div class="info">
    <h2>{{ info.name }}</h2>
    <div>{{ info.goods_brief }}</div>
    <p class="price">{{ $global.toYuan(info.retail_price) }}</p>
  </div>
</template>

<script>
export default {
  name: 'info-box',
  props: ['info']
}
</script>

<style lang='less' scoped>
.info {
  background-color: #fff;
  padding: 0.2rem 0;
  border-bottom: 0.01rem solid #ccc;
  text-align: center;
  line-height: 0.4rem;
  h2 {
    font-size: 0.24rem;
  }
  .price {
    color: @priceText;
  }
}
</style>
